package com.study.spark.scala.chapter02
import com.study.spark.scala.test.User

object Scala07_DataType_1 {

  def main(args: Array[String]): Unit = {
    // TODO 数据类型

    // AnyRef
    val list : AnyRef = List(1,2,3,4)
    val obj : AnyRef = new User
    val obj1 : AnyRef = Scala07_DataType_1


    //println(list)//List(1, 2, 3, 4)
    //println(obj)
    /*
User static init ......
User{30}
     */

    println(obj1)
    /*
User static init ......  静态代码块，在加载类时就初始化执行
com.study.spark.scala.chapter02.Scala07_DataType_1$@4cdbe50f
     */


  }

}
